# Description: Joe'nun pencere yöneticisi yalnızca Xlib'yi en az kullanır.
# URL: http://joewing.net/programs/jwm/
# Packager: milisarge
# Depends on: xorg xorg-libxt xorg-libxft xorg-libxmu xorg-mesa libpng libjpeg-turbo

name=jwm
version=2.3.5
release=1
source=(http://joewing.net/projects/jwm/releases/$name-$version.tar.xz $name.desktop $name.readme)

build() {
cd $name-$version
./configure --prefix=/usr \
--disable-confirm \
--disable-fribidi \
--with-x \
--sysconf=/etc
make || return 1
mkdir -p $PKG/usr/share/xsessions
cp $SRC/$name.desktop $PKG/usr/share/xsessions/
sed -i "s|/usr/bin|$PKG/usr/bin|g" src/Makefile
make SYSCONF=$PKG/etc MANDIR=$PKG/usr/share/man install
}
